package com.suyang.syt.service.interfaces;

import java.util.List;

import com.suyang.syt.model.Citys;
import com.suyang.syt.model.dto.AjaxObj;
import com.suyang.syt.model.dto.CitysDTO;

public interface CitysService {

	public List<CitysDTO> list(long id) throws Exception;

	public AjaxObj add(CitysDTO citysDTO) throws Exception;

	public AjaxObj delete(String ids) throws Exception;

	public AjaxObj update(CitysDTO citysDTO) throws Exception;

	public List<CitysDTO> listGBCT() throws Exception;

	public List<CitysDTO> findGBCT(String q) throws Exception;

	public Citys getByName(String name) throws Exception;

	public List<Citys> findByPid(long pid) throws Exception;

	public AjaxObj updateApproved(String ids, int status) throws Exception;

	public AjaxObj findArea(double lat, double lng) throws Exception;

	public AjaxObj findHasOpened() throws Exception;

	public String findCitysIds(long cityid) throws Exception;

}
